TypeScript Discriminated Unions: Het bouwen van type-veilige state machines | MLOG | MLOG